﻿using Digitalmes.Application.Sys.Menus;

namespace Digitalmes.Application.Services;

/// <summary>
/// 菜单应用服务
/// </summary>
public interface IUserMenuApplicationService : IApplicationService
{
    /// <summary>
    /// 获取用户拥有的菜单集合信息。
    /// </summary>
    /// <param name="userId">用户Id</param>
    /// <returns></returns>
    Task<List<(SysMenuDto menu, string[] roles)>> GetMenusOfUserAsync(long userId);
}
